package net.seehope.foodie.service;

import java.util.List;

import net.seehope.foodie.pojo.bo.CommentsBo;
import net.seehope.foodie.pojo.bo.SearchBo;
import net.seehope.foodie.pojo.bo.SearchByCatsBo;
import net.seehope.foodie.pojo.vo.CountsVo;
import net.seehope.foodie.pojo.vo.ItemInfoVo;
import net.seehope.foodie.pojo.vo.PageGridResultVo;
import net.seehope.foodie.pojo.vo.ShopCartItemVo;

public interface ItemService {
	public PageGridResultVo renderSearchItem(SearchBo bo);
	
	public PageGridResultVo renderSearchItem(SearchByCatsBo bo);
	
	public ItemInfoVo renderItemInfo(String itemId);
	
	public CountsVo renderCommentLevelCounts(String itemId);
	
	public PageGridResultVo renderCommentsByLevel(CommentsBo bo);
	
	public List<ShopCartItemVo> renderShopCart(String itemSpecIds);
	
	public int decreaseItemSpecsStock(String itemsSpecId,int decreaseCount);
}
